var initXML = (FOCS)?(
	function (func) {
		return {
			readyState: 4
	    };
	}):(
	function (func) {
		var xmlparameter = document.createElement('xml');
		xmlparameter.onreadystatechange = func;
		return xmlparameter;
	});

var initXSL = (FOCS)?(
	function (func) {
		return {
			readyState: 4
	    };
	}):(
	function (func) {
		var xslparameter = document.createElement('xml');
		xslparameter.onreadystatechange = func;
		return xslparameter;
	});

var checkObjectType = (FOCS)?(
	function(object) {
		return object instanceof Object;
	}):(
	function(object) {
		return 	typeof object == "object";
	});
	
var setFromCache = (FOCS)?(
	function(object,param) {
		object.responseXML = param;
		return object;
	}):(
	function(object,param) {
		return param;
	});
	
var setFromString = (FOCS)?(
	function(object,param){
		object.responseXML = new DOMParser().parseFromString(param, "text/xml");
		return object;
	}):(
	function(object,param){
		object["innerHTML"] = param;
		return object;	
	});
var getXMLRepresentation = (FOCS)?(
	function(object){
		return object.responseXML;
	}):(
	function(object){
		return object.XMLDocument;	
	});
var getCachedRepresentation = (FOCS)?(
	function(object){
		return object.responseXML;
	}):(
	function(object){
		return object;	
	});
	
var setFromFile = (FOCS)?(
	function(object,param,func){
		object = $.ajax({dataType: "xml", url: param});
		object.onreadystatechange = func;
		return object;
	}):(
	function(object,param,func){
		object["src"] = param;
		return object;
	});

var callReaction = (FOCS)?(
	function(func){
		func();
	}):(
	function(func){
	});
	
var includeElements = (FOCS)?(
	function(object1,object2){
	}):(
	function(object1,object2){
		$('body').append(object1).append(object2);
	});
	
var completeValue = (FOCS)?4:'complete';